package io.halo.payment.common.enums;

/**
 * 签名方式枚举
 *
 * @author: austin
 * @since: 2023/1/1 20:34
 */
public enum SignTypeEnum {

    /**
     * HMAC-SHA256 加密
     */
    HMACSHA256("HMAC-SHA256"),
    /**
     * MD5 加密
     */
    MD5("MD5"),
    /**
     * RSA
     */
    RSA("RSA");

    SignTypeEnum(String type) {
        this.type = type;
    }

    private final String type;

    public String getType() {
        return type;
    }

    @Override
    public String toString() {
        return type;
    }
}
